package org.boticelli.auth;

/**
 * Interface for all user action executor implementations.
 * 
 * @author shelmberger
 *
 */
public interface UserActionExecutor
{
    /**
     * Runs the given runnable after ensuring that the user is authenticated.
     *
     * @param action Runnable executed after receiving NickServ's response
     * @param mode how to respond to the user
     */
    void execute(String Nick, UserAction action);
}
